<table cellpadding="2" cellspacing="1" width="98%">
	<input type="hidden" name="setting[type]" value="varchar">
    <tr> 
        <td width="180">允许上传的类型</td>
        <td><div class="layui-input-inline" style="width: 300px;"><input type="text" name="setting[upload_allowext]" value="<?php echo isset($setting['upload_allowext']) ? $setting['upload_allowext'] : 'gif|jpg|jpeg|png|bmp'; ?>" size="40" class="layui-input"></div><div class="layui-input-inline" style="width: 200px;"> <span>多个用“|”隔开</span></div></td>
    </tr>
    <tr> 
        <td>是否在图片上添加水印</td>
        <td><input type="radio" name="setting[watermark]" value="1" title=" 是 " <?php if ($setting['watermark']) echo 'checked'; ?>><input type="radio" name="setting[watermark]" value="0" title=" 否" <?php if (!$setting['watermark']) echo 'checked'; ?>></td>
    </tr>
    <tr> 
        <td>是否从已上传中选择</td>
        <td><input type="radio" name="setting[isselectimage]" value="1" title=" 是 " <?php if ($setting['isselectimage']) echo 'checked'; ?>><input type="radio" name="setting[isselectimage]" value="0" title=" 否" <?php if (!$setting['isselectimage']) echo 'checked'; ?>></td>
    </tr>
    <tr> 
        <td>下载统计字段</td>
        <td><div class="layui-input-inline" style="width: 100px;"><input type="text" name="setting[statistics]" value="<?php echo $setting['statistics']; ?>" class="layui-input"></div><div class="layui-input-inline" style="width: 300px;"> 下载次数统计字段只能在主表！</div></td>
    </tr>
    <tr>
        <td>文件链接方式</td>
        <td>
            <input name="setting[downloadlink]" value="0" type="radio" title="链接到真实软件地址 （无法进行验证和统计）" <?php if (!$setting['downloadlink']) echo 'checked'; ?>>
            <input name="setting[downloadlink]" value="1" type="radio" title="链接到下载跳转页面" <?php if ($setting['downloadlink']) echo 'checked'; ?>>
        </td>
    </tr>	
</table>